package
{
	import flash.display.Bitmap;
	import flash.display.BitmapData;
	import flash.geom.Point;
	import flash.geom.Rectangle;

	public class Asset
	{
		[Embed(source="./assets/btn_play.png")]
		private	 	static	var	btn_play:Class;
	
		[Embed(source="./assets/btn_pause.png")]
		private		static	var btn_pause:Class;
		
		[Embed(source="./assets/btn_next.png")]
		private		static	var btn_next:Class;
		
		[Embed(source="./assets/btn_pre.png")]
		private		static	var btn_pre:Class;
		
		[Embed(source="./assets/btn_stop.png")]
		private		static	var btn_stop:Class;
		
		[Embed(source="./assets/slider_bg.png")]
		private		static	var sliderBg:Class;
		
		[Embed(source="./assets/slider_head.png")]
		private		static	var	sliderHead:Class;
		
		[Embed(source="./assets/slider_pre1.png")]
		private		static	var	sliderPre1:Class;
		
		[Embed(source="./assets/slider_pre2.png")]
		private		static	var	sliderPre2:Class;
		
		[Embed(source="./assets/scrollBar_bg.png")]
		private		static	var scrollBar_bg:Class;

		[Embed(source="./assets/scrollBar_btn.png")]
		private		static	var scrollBar_btn:Class;
		
		[Embed(source="./assets/scrollBar_downArrow.png")]		
		private		static	var scrollBar_downArrow:Class;
		
		[Embed(source="./assets/scrollBar_upArrow.png")]		
		private		static	var scrollBar_upArrow:Class;
		
		[Embed(source="./assets/button_default.png")]
		private		static	var button_default:Class;
		
		[Embed(source="./assets/btn2.png")]
		private		static	var	btn2_img:Class;
		
		[Embed(source="./assets/panel_add.png")]
		private		static	var	panel_add_img:Class;
		[Embed(source="./assets/panel_rm.png")]
		private		static	var	panel_rm_img:Class;
		
		private		static	var playImg:Bitmap = null;
		private		static	var pauseImg:Bitmap = null;
		private		static	var stopImg:Bitmap = null;
		private		static	var nextImg:Bitmap = null;
		private		static	var preImg:Bitmap = null;
		
		private		static	var	sliderBgImg:Bitmap = null;
		private		static	var	sliderHeadImg:Bitmap = null;
		private		static	var	sliderPreImg1:Bitmap = null;
		private		static	var	sliderPreImg2:Bitmap = null;
		
		private		static	var scrollBarBg:Bitmap = null;
		private		static	var scrollBarBtn:Bitmap = null;
		private		static	var scrollBarDownArrow:Bitmap = null;
		private		static	var scrollBarUpArrow:Bitmap = null;
		
		private		static	var buttonDefault:Bitmap = null;
		
		private		static	var	btn2:Bitmap = null;
		private		static	var	panel_add:Bitmap = null;
		private		static	var	panel_rm:Bitmap = null;		
		
		public		static	function	init():void{
			Asset.playImg = new btn_play();
			Asset.pauseImg = new btn_pause();
			Asset.nextImg = new btn_next();
			Asset.preImg = new btn_pre();
			Asset.stopImg = new btn_stop();	
			Asset.sliderBgImg = new sliderBg();
			Asset.sliderHeadImg = new sliderHead();
			Asset.sliderPreImg1 = new sliderPre1();
			Asset.sliderPreImg2 = new sliderPre2();
			Asset.scrollBarBg = new scrollBar_bg();
			Asset.scrollBarBtn = new scrollBar_btn();
			Asset.scrollBarUpArrow = new scrollBar_upArrow();
			Asset.scrollBarDownArrow = new scrollBar_downArrow();
			Asset.buttonDefault = new button_default();
			Asset.btn2 = new btn2_img();
			Asset.panel_add= new panel_add_img();
			Asset.panel_rm = new panel_rm_img();
		}
		
		public		static	function	getButtonDefault():Bitmap{
			return Asset.buttonDefault;
		}
		
		public		static	function	getScrollBarBg():Bitmap{
			return Asset.scrollBarBg;
		}
		
		public		static	function	getScrollBarBtn():Bitmap{
			return Asset.scrollBarBtn;
		}
		
		public		static	function	getScrollBarUpArrow():Bitmap{
			return Asset.scrollBarUpArrow;
		}
		
		public		static	function	getScrollBarDownArrow():Bitmap{
			return Asset.scrollBarDownArrow;
		}
		
		public		static	function	getPlayImg():Bitmap{
			return Asset.playImg;
		}
		
		public		static	function	getPauseImg():Bitmap{
			return Asset.pauseImg;
		}
		
		public		static	function	getStopImg():Bitmap{
			return Asset.stopImg;
		}
		
		public		static	function	getNextImg():Bitmap{
			return Asset.nextImg;
		}
		
		public		static	function	getPrevImg():Bitmap{
			return Asset.preImg;
		}
		
		public		static	function	getSliderBgImg():Bitmap{
			return Asset.sliderBgImg;
		}
		
		public		static	function	getSliderHeadImg():Bitmap{
			return Asset.sliderHeadImg;
		}
		
		public		static	function	getSliderPreImg1():Bitmap{
			return Asset.sliderPreImg1;
		}
		
		public		static	function	getSliderPreImg2():Bitmap{
			return Asset.sliderPreImg2;
		}
		
		public		static	function	getBtn2():Bitmap{
			return Asset.btn2;
		}
		
		public		static	function	getPanelAdd():Bitmap{
			return Asset.panel_add;
		}
		
		public		static	function	getPanelRm():Bitmap{
			return Asset.panel_rm;
		}
	}
}